<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <title>签到表</title>
    <%@include file="/WEB-INF/views/commons/commons.jsp" %>
    <script src="/static/js/system/claimsChart.js"></script>
</head>
<body>
<table id="claim_datagrid"></table>
<div id="tb">
    <%--机构:<input class="easyui-combobox" id="safetymechanism" name="safetymechanismId"
              data-options="url:'/agencyInfo/selectAll',panelHeight:'auto',textField:'name',valueField:'id'"/>
    险种:<input id="product" class="easyui-combobox" name="productId"
              data-options="url:'/productInfo/selectAll',panelHeight:'auto',textField:'name',valueField:'id'"/>
    保单时间:<input id="beginDate" class="easyui-datebox" name="beginDate"/>
    ~ <input id="endDate" class="easyui-datebox" name="endDate"/>--%>
    <table>
        <tbody>
        <tr>
            <td>分组:
                <select id="groupBy" name="groupBy">
                    <option value="lc.name" selected>保险人员</option>
                    <option value="agency.name">保险机构</option>
                    <option value="date_format(c.billDate,'%Y-%m')">保单日期(月)</option>
                    <option value="date_format(c.billDate,'%Y-%m-%d')">保单日期(日)</option>
                </select>
            </td>
            <td width="100px">
                <a class="easyui-linkbutton" iconCls="icon-search" plain="true" data-cmd="query">搜索</a>
            </td>
            <td width="100px">
                <a class="easyui-linkbutton" iconCls="icon-large-chart" plain="true"
                   data-cmd="bar">柱状图</a>
            </td>
            <td width="100px">
                <a class="easyui-linkbutton" iconCls="icon-filter" plain="true"
                   data-cmd="pic">饼状图</a>
            </td>
        </tr>
        </tbody>
    </table>
</div>
<div id="bar_dialog">
    <iframe id="barTable" src="/claimsChart/claimByBar" frameborder="0" style="width: 100%;height: 100%;"></iframe>
</div>
<div id="pic_dialog">
    <iframe id="picTable" src="" frameborder="0" style="width: 100%;height: 100%;"></iframe>
</div>
<div id="bar_btn" align="right">
    <a class="easyui-linkbutton" iconCls="icon-save" plain="true" data-cmd="cancelBar">确定</a>
</div>
<div id="pic_btn" align="right">
    <a class="easyui-linkbutton" iconCls="icon-save" plain="true" data-cmd="cancelPic">确定</a>
</div>


</body>
</html>